package com.hongshu.web;

import com.hongshu.common.security.annotation.EnableCustomConfig;
import com.hongshu.common.security.annotation.EnableRyFeignClients;
import lombok.extern.log4j.Log4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableAsync;

/**
 * web模块
 *
 * @author hongshu
 */
@Log4j
@EnableAsync
@EnableCustomConfig
@EnableRyFeignClients
@SpringBootApplication
@ComponentScan(basePackages = {"com.hongshu.common.core.utils", "com.hongshu.common.redis", "com.hongshu.web"})
public class HongShuWebApplication {
    public static void main(String[] args) {
        SpringApplication.run(HongShuWebApplication.class, args);
        log.info("(♥◠‿◠)ﾉﾞ  Web模块启动成功   ლ(´ڡ`ლ)ﾞ  ");
    }
}
